package mutithread;

/**
 * @author tongchen
 * @create 2023-01-03 17:08
 */
public class MyThread extends Thread{
    @Override
    public void run() {
        while(true){
            System.out.println("线程02");
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }

    }
}
